package com.mcxx.modules.filemanage.file.service;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;


public interface FileService {


    String upload(InputStream inputStream, String fileName);


    byte[] download(String objectId, String bucketId);


    byte[] download(String objectId);


    byte[] downloadCheckFile(String objectId);


    String getFileUrl(String objectId);


    String getFileUrl(String objectId, String bucketId);


    void deleteByObjectId(String objectId);


    void batchDeleteByObjectId(List<String> objectIds);
}
